Platform Explorer / Nuxeo Platform 2023.18

Contribution org.nuxeo.ecm.webapp.directory.directoryUI--layouts

This contribution is part of XML component org.nuxeo.ecm.webapp.directory.directoryUI inside nuxeo-platform-webapp-core-2023.18.9.jar /OSGI-INF/directory-ui-contrib.xml

Extension Point

Extension point layouts of component WebLayoutManager.

Registration Order

21
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <layout name="vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>vocabulary_id</widget>
            </row>
            <row>
              <widget>vocabulary_label</widget>
            </row>
            <row>
              <widget>vocabulary_obsolete</widget>
            </row>
            <row>
              <widget>vocabulary_order</widget>
            </row>
          </rows>
        </layout>
  • <layout name="country_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>xvocabulary_id</widget>
            </row>
            <row>
              <widget>xvocabulary_label</widget>
            </row>
            <row>
              <widget>xvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>xvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="selectOneDirectory">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>xvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">continent</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="displayObsoleteEntries">true</property>
            </properties>
          </widget>
        </layout>
  • <layout name="subtopic_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>xvocabulary_id</widget>
            </row>
            <row>
              <widget>xvocabulary_label</widget>
            </row>
            <row>
              <widget>xvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>xvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="selectOneDirectory">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>xvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">topic</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="displayObsoleteEntries">true</property>
            </properties>
          </widget>
        </layout>
  • <layout name="l10nvocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>l10nvocabulary_id</widget>
            </row>
            <row>
              <widget>l10nvocabulary_label_fr</widget>
            </row>
            <row>
              <widget>l10nvocabulary_label_en</widget>
            </row>
            <row>
              <widget>l10nvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>l10nvocabulary_order</widget>
            </row>
          </rows>
        </layout>
  • <layout name="l10ncoverage_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_id</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_label_en</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_label_fr</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="suggestOneDirectory">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>l10nxvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">l10ncoverage</property>
              <property name="dbl10n">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="width">100%</property>
              <property name="minChars">0</property>
              <property name="hideHelpLabel">true</property>
              <property name="displayObsoleteEntries">true</property>
              <property name="canSelectParent">true</property>
            </properties>
          </widget>
        </layout>
  • <layout name="l10nsubjects_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_id</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_label_en</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_label_fr</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="suggestOneDirectory">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>l10nxvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">l10nsubjects</property>
              <property name="dbl10n">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="width">100%</property>
              <property name="minChars">0</property>
              <property name="hideHelpLabel">true</property>
              <property name="displayObsoleteEntries">true</property>
              <property name="canSelectParent">true</property>
            </properties>
          </widget>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>vocabulary_id</widget>
        </row>
        <row>
          <widget>vocabulary_label</widget>
        </row>
        <row>
          <widget>vocabulary_obsolete</widget>
        </row>
        <row>
          <widget>vocabulary_order</widget>
        </row>
      </rows>
    </layout>

    <layout name="country_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>xvocabulary_id</widget>
        </row>
        <row>
          <widget>xvocabulary_label</widget>
        </row>
        <row>
          <widget>xvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>xvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="selectOneDirectory">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>xvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">continent</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="displayObsoleteEntries">true</property>
        </properties>
      </widget>
    </layout>

    <layout name="subtopic_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>xvocabulary_id</widget>
        </row>
        <row>
          <widget>xvocabulary_label</widget>
        </row>
        <row>
          <widget>xvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>xvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="selectOneDirectory">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>xvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">topic</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="displayObsoleteEntries">true</property>
        </properties>
      </widget>
    </layout>

    <layout name="l10nvocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>l10nvocabulary_id</widget>
        </row>
        <row>
          <widget>l10nvocabulary_label_fr</widget>
        </row>
        <row>
          <widget>l10nvocabulary_label_en</widget>
        </row>
        <row>
          <widget>l10nvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>l10nvocabulary_order</widget>
        </row>
      </rows>
    </layout>

    <layout name="l10ncoverage_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_id</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_label_en</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_label_fr</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="suggestOneDirectory">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>l10nxvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">l10ncoverage</property>
          <property name="dbl10n">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="width">100%</property>
          <property name="minChars">0</property>
          <property name="hideHelpLabel">true</property>
          <property name="displayObsoleteEntries">true</property>
          <property name="canSelectParent">true</property>
        </properties>
      </widget>
    </layout>

    <layout name="l10nsubjects_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_id</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_label_en</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_label_fr</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="suggestOneDirectory">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>l10nxvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">l10nsubjects</property>
          <property name="dbl10n">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="width">100%</property>
          <property name="minChars">0</property>
          <property name="hideHelpLabel">true</property>
          <property name="displayObsoleteEntries">true</property>
          <property name="canSelectParent">true</property>
        </properties>
      </widget>
    </layout>

  </extension>